{% include "header.html" %}
<div id="wrapper">
	<div id="simple-content-wrapper">
		<div id="content">
		<table cellspacing="0" border="0">
		<caption>
		当前用户组&nbsp;<a href="/group/{{ object.id }}/">{{ object.name|title }}</a>&nbsp;成员列表
		</caption>
			<tr>
				<td><input type="button" value="Select All" onclick='selectAll("userid","button1")' name=button1></td>
				<td>用户名称</td>
				<td>用户加入时间</td>
				<td>用户最后登录时间</td>
			</tr>
			{% for x in group_members %}
			<tr class="{% cycle alt,'' %}">
				<td><input name="userid" type="checkbox" value="{{ x.id }}"/></td>
				<td><a href="/users/{{x.id}}/">{{ x.username }}</a></td>
				<td>{{ x.date_joined|date:"Y年 m月d日 H:i:s" }}</td>
				<td>{{ x.last_login|date:"Y年 m月d日 H:i:s" }}</td>
			</tr>
			{% endfor %}
		</table>
		<!-- <table cellspacing="0" border="0">
		<caption>
		当前用户组->>&nbsp;<a href="/group/{{ object.id }}/">{{ object.get_group_name_display }}</a>&nbsp;&nbsp;[{{ object.group_desc }}]
		</caption>
			<tr>
				<td>
					<input type="button" value="Select All" onclick='selectAll("userid","button1")' name=button1>
				</td>
				<td>
					用户
					</td>
			</tr>
			{% for x in members %}
			<tr class="{% cycle alt,'' %}">
				<td><input name="userid" type="checkbox" value="{{ x.id }}"/></td>
				<td><a href="/user/{{ x.id }}/">{{ x.username }}</a></td>
			</tr>
			{% endfor %}
		</table> -->
		</div>
	</div>
<!-- 	<div id="sidebar-wrapper">
		
			<div id="sidebar">
			<!-- <h7>当前用户组权限:</h7>
				<ul id=info>
				{% for p in permissions %}
				<li class="{% cycle alt,'' %}">{{ p.name }}</li>
				{% endfor %}
				</ul> -->
			</div>
		
	</div> -->
</div>
{% include "footer.html" %}
